import $config from '@/config/website'

export default [
  {
    title: '基础组件',
    components: [
      {
        elName: 'qk-image',
        title: '图片',
        icon: 'iconfont icontupian',
        valueType: '', // 标识数据类型，用于表单组件,
        defaultStyle: {
          height: 200
        }
      },
      {
        elName: 'qk-input',
        title: '文本框',
        icon: 'iconfont iconwenbenkuang',
        isForm: true,
        defaultStyle: {
          height: 38,
          width: 250,
          paddingTop: 2,
          paddingBottom: 2,
          paddingLeft: 10,
          paddingRight: 10,
          borderColor: "#999999",
          borderStyle: 'solid',
          borderWidth: 1,
          borderRadius: 4
        }
      },
    ]
  },
  {
    title: '商品列表',
    components: [
      {
        elName: 'qk-goods',
        title: '商品列表',
        icon: 'iconfont icontupian',
        valueType: '', // 标识数据类型，用于表单组件,
        defaultStyle: {
          height: 200
        }
      },
    ]
  },
  {
    title: '广告位',
    components: [
      {
        elName: 'qk-advert',
        title: '广告',
        icon: 'iconfont icontupian',
        valueType: '', // 标识数据类型，用于表单组件,
        defaultStyle: {
          height: 200
        }
      },
      {
        elName: 'qk-carousel',
        title: '轮播图',
        icon: 'iconfont icontupian',
        valueType: '', // 标识数据类型，用于表单组件,
        defaultStyle: {
          height: 200
        }
      },
    ]
  },
  {
    title: '底部导航',
    components: [
      {
        elName: 'qk-tabbar',
        title: '导航',
        icon: 'iconfont icontupian',
        valueType: '', // 标识数据类型，用于表单组件,
        defaultStyle: {
          height: 200
        }
      },
    ]
  },
]
